package com.xuxin.baby.contract;

import com.xuxin.baby.bean.SignBean;
import com.xuxin.baby.bean.BaseBean;
import com.xuxin.baby.presenter.UserSignPresenter;

/**
 * Created by xu_xin
 * Created on 2020/10/23 0023
 * 签到
 */
public interface UserSignContract {

    interface Model {

        void getUserSign(UserSignPresenter presenter, String tenantId, String token, String memberId, int skipCount);

        void sign(UserSignPresenter presenter, String tenantId, String token, String memberId, String date);
    }

    interface View extends BaseContract.view {

        void onSuccess(SignBean signBean);

        void onSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getUserSign(String tenantId, String token, String memberId, int skipCount);

        void sign(String tenantId, String token, String memberId, String date);

        void onSuccess(SignBean signBean);

        void onSuccess(BaseBean baseBean);
    }
}